package com.future.dao;

import java.util.List;

import com.future.common.base.BaseDao;
import com.future.model.Xjy;

public class XjyDao extends BaseDao<Xjy>{
	public List<Xjy> findAllXjy(){
		return find();
	}
	
	public Xjy findByOpenid(String openid){
		return findFirst(openid);
	}
	
	public Xjy findByNameAndPhone(String name,String phone){
		return findFirst(name, phone);
	}
}
